# -*- codeing = utf-8 -*-
# @Time : 2021/2/20 9:50
# @Atuthor: 朱朱
# @File: 002字符串遍历.py
# @Software: PyCharm
msg = 'abcdefghijklmnopqrstuvwxyz'

# while语句遍历
i = 0
while i <len(msg):
    print(msg[i],end=' ')

    i+=1
print()
# for语句遍历
for x in msg:
    print(x,end=' ')

